package cn.openread.demo.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExcelModle extends BaseRowModel {
    @ExcelProperty(index = 0, value = "ID")
    private Long id;

    @ExcelProperty(index = 1, value = "NAME")
    private String name;

    @ExcelProperty(index = 2, value = "Money")
    private Long money;
}
